Skip to content

fix(sections): align accordion icons and Instagram responsive spacing - #21

Merged
hta218 merged 1 commit into
mainfrom
fix/section-issues
Nov 12, 2026
Merged

hta218 merged 1 commit into
mainfrom
fix/section-issues

Conversation

@thanh251

Copy link
Copy Markdown
Contributor

Fixes the accordion icon sizing/alignment reported in review #8 and oversized Instagram gaps reported in review #9.

Accordion items now render the right-hand plus/minus icons at 24×24px with the specified −180° rotation. Leading SVG and image icons stay in a centered 20×20px frame without shrinking, including when question text wraps. The shared item component applies these fixes to existing items and newly added Studio items without changing saved settings.

Instagram now follows the theme's shared mobile/tablet/desktop breakpoints, replacing the separate 744px and 1024px thresholds throughout the layout, content card, grid, and image sizes:

  • Below 768px: stacked layout, two image columns, 20px content gap and 8px image gap.
  • 768–1032px: side-by-side layout, four image columns, 16px content gap and 8px image gap.
  • From 1033px: desktop layout, four image columns, 24px content gap and 20px image gap.

Validation:

  • Production build and codegen (shopify hydrogen build --codegen --no-bundle-stats), typecheck, full Biome check, and git diff --check passed.
  • All 9 accordion/Instagram browser tests passed, covering responsive boundaries, long merchant text, lone Studio children, SVG/image dimensions and alignment, both accordion layouts, and open/close behavior.
  • The new accordion regression test failed against the original implementation because a 48px SVG overflowed its 20px wrapper, and passed with this fix.
  • Locale, translation, sanitizer runtime, and footer sanitization tests passed.

Review references:

@thanh251 thanh251 added the fix Bug fixes label Nov 12, 2026
@thanh251
thanh251 requested a review from hta218 November 12, 2026 07:48

@hta218 hta218 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the shared accordion icon sizing and Instagram breakpoint changes. All 9 targeted browser regressions passed, including wrapped merchant text, SVG/image icon frames, open/close behavior and responsive grid boundaries. Typecheck and CI passed. No actionable findings. Verification used component fixtures rather than a deployed Studio session.

@hta218
hta218 merged commit 3f0887d into main Nov 12, 2026
1 check passed
@thanh251
thanh251 deleted the fix/section-issues branch November 13, 2026 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants